package com.billard.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class Permission {
    private Long id;
    private Long parentId;              // 父ID：0表示一级菜单
    private String name;                // 权限名称：订单管理、删除订单
    private Integer type;               // 类型：1-菜单，2-按钮，3-接口
    private String permissionValue;     // 权限值：order:delete
    private String path;                // 前端路由
    private String component;           // 前端组件路径
    private String icon;
    private Integer sortOrder;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
